import 'package:flutter/material.dart';

class HomeSearchBar extends StatelessWidget {
  const HomeSearchBar({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 50,
      padding: EdgeInsets.all(10),
      color: Color.fromARGB(255, 235, 232, 232),
      child: Container(
        decoration: BoxDecoration(
          color: Colors.white,
          borderRadius: BorderRadius.circular(15),
        ),
        padding: EdgeInsets.only(left: 5),
        child: Row(
          children: [
            Icon(
              Icons.search,
              color: Colors.grey,
            ),
            Padding(
              padding: EdgeInsets.only(left: 5),
              child: Text(
                '搜索你要找的商品',
                style: TextStyle(color: Colors.grey),
              ),
            )
          ],
        ),
      ),
    );
  }
}
